from kyb_caps import dr
from appium.webdriver.common.appiumby import By
from time import sleep

# class定位
dr.find_elements(By.CLASS_NAME,'android.widget.EditText')[0].send_keys('lslsczcz01')
dr.find_elements(By.CLASS_NAME,'android.widget.EditText')[1].send_keys('woyebuzhidao0')
dr.find_element(By.CLASS_NAME,'android.widget.Button').click()
sleep(3)
dr.quit()